package com.apartment.sevice;

import com.apartment.data.entity.Apartment;

import java.util.List;

/**
 * Author : xuzhiyong
 * Date : 2022/6/2 15:35
 */
public interface ApartmentService {
    List<Apartment> findAllApartment();

    boolean addApartment(Apartment apartment);

    Apartment findApartmentById(Integer id);

    List<Apartment> findApartmentByLandlordId(String id);
}
